Cloth Simulation With Sphere/Ground Collision Detection